# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=irssi-xmpp
pkgver=0.54
pkgrel=1
pkgdesc="An irssi plugin to connect to the Jabber network"
url="https://cybione.org/~irssi-xmpp/"
arch="all"
license="GPL-2.0"
makedepends="irssi-dev loudmouth-dev"
subpackages="$pkgname-doc"
options="!check"
source="irssi-xmpp-$pkgver.tar.gz::https://github.com/cdidier/irssi-xmpp/archive/v$pkgver/irssi-xmpp-$pkgver.tar.gz
	musl-fixes.patch
	"

build() {
	make PREFIX=/usr
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
31ddd9e0147eec23d08b8bcbe242e831d612cb2d00f3b56776e9d0b87db9bd76d4bb147422cdf18c0567f0e0463ab828ab7a0ef80a2b35cfdc0a8be962b39f14  irssi-xmpp-0.54.tar.gz
d75fb0687ab9af9a87409e61605f2bb443729be06fc4d7f9e900783c7b9375efc43acec128c91bdeb2c19983c5bedac567a30042ff28f53e6817e976932de0ef  musl-fixes.patch
"
